home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD ROM Paradise Collection 4
/
CD ROM Paradise Collection 4 1995 Nov.iso
/
win
/
hooks.zip
/
DLLSTUFF.C
< prev
next >
Wrap
C/C++ Source or Header
|
1993-03-18
|
2KB
|
46 lines
//---------------------------------------------------------------------------
// DLLSTUFF - Windows DLL support functions
//
// This File contains the source code for the standard DLL functions
//
// Author: Kyle Marsh
// Windows Developer Technology Group
// Microsoft Corp.
//
//---------------------------------------------------------------------------
#include "windows.h"
//---------------------------------------------------------------------------
// Function declarations
//---------------------------------------------------------------------------
int FAR PASCAL LibMain(HANDLE hModule, WORD wDataSeg, WORD cbHeapSize, LPSTR lpszCmdLine);
int FAR PASCAL WEP (int bSystemExit);
//---------------------------------------------------------------------------
// Global Variables...
//---------------------------------------------------------------------------
HANDLE hInstance; // Global instance handle for DLL
//---------------------------------------------------------------------------
// LibMain
//---------------------------------------------------------------------------
int FAR PASCAL LibMain(HANDLE hModule, WORD wDataSeg, WORD cbHeapSize, LPSTR lpszCmdLine)
{
hInstance = hModule;
return 1;
}
#pragma alloc_text(FIXEDSEG, WEP)
//---------------------------------------------------------------------------
// WEP
//---------------------------------------------------------------------------
int FAR PASCAL WEP (int bSystemExit)
{
return(1);
}